package ishaportalserver.shared.apps;

public class ErrorUtil {	
	private String errorMessage = "";
	private String successMessage = "SUCCESS";
	
	public String getSuccessMessage() {
		return successMessage;
	}
	public void setSuccessMessage(String successMessage) {
		this.successMessage = successMessage;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
		successMessage = "";
	}			
	
	public boolean isError() {
		return ! errorMessage.equals("");
	}
}
